<?php
/**
 * 
 * 回复留言
 * @author LeoNing
 *
 */
class EditAsk extends Action {
	/* (non-PHPdoc)
	 * @see Action::execute()
	 */
	public function execute($params) {
		check_login ( ADMIN_LOGIN_PAGE );
		$ask_id = irqst ( 'aid' );
		$data ['ask_id'] = $ask_id;
		$askM = new PlugAskModel ();
		$item = $askM->read ( $ask_id );
		$data ['item'] = $item;
		return new SmartyView ( $data, 'EditAsk' );
	}
}